<div class="header">
    <back-Btn></back-Btn>
    考勤详情
    <div class="right-btn" ng-click="attendanceDetail.submit()">
        完成
    </div>
</div>
<div class="container attendance">
    <div class="list f_sk">
        <label class="list-item icon_clock flex required">
            <p class="w35 c9">上班时间:</p>
            <p class="w65">
                <input type="text" date-directive ng-model="attendanceDetail.startTime" class="c0" datetype="time" />
            </p>
        </label>
        <label class="list-item icon_clock flex required">
            <p class="w35 c9">下班时间:</p>
            <p class="w65">
                <input type="text" date-directive ng-model="attendanceDetail.endTime" class="c0" datetype="time" />
            </p>
        </label>
        <label class="list-item flex required" ng-click="attendanceDetail.showrelModule()">
            <p class="w35 c9">考勤日期:</p>
            <p class="w65 te">
                {{attendanceDetail.param.cycleTime}}
            </p>
        </label>
        <label class="list-item icon_menu icon_rightArrow flex required" ng-click="attendanceDetail.showdeps()">
            <p class="w35 c9">考勤部门:</p>
            <p class="w65 te">
                {{attendanceDetail.param.departments}}
            </p>
        </label>
        <div class="list-item flex icon_rightArrow" ng-click="attendanceDetail.showusers()">
            <p class="w35 c9">无需考勤成员:</p>
            <p class="w65">
                {{attendanceDetail.param.exclusionUsers.length?attendanceDetail.param.exclusionUsers.length+"人":""}}
            </p>
        </div>
        <div class="list-item mt20 icon_rightArrow flex required" ng-click="attendanceDetail.showMap()">
            <p class="w35 c9">考勤地点:</p>
            <p class="w65 fs12 te">{{attendanceDetail.param.address}}
            </p>
        </div>
        <label class="list-item icon_menu flex">
            <p class="w35 c9">允许偏差(米):</p>
            <p class="w65">
                <select ng-model="attendanceDetail.param.allowableOffset"
                 ng-options="offset for offset in attendanceDetail.offsets"></select>
            </p>
        </label>
        <div class="list-item mt20 c-red tc" ng-click="attendanceDetail.confirmdel()" ng-show="attendanceDetail.pkId">
            删除
        </div>
    </div>
</div>
<cus-select ng-show="attendanceDetail.sheetObj.ifshowSheet" sheet-data="attendanceDetail.sheetObj"></cus-select>